From: Sergio Costas Rodriguez Date: Tue, 24 Jun 2025 16:20:21 +0000 (+0200) Subject: dateMenu: Add accessibility to Events and Weather X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~119^2~13^2^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7a0753ba84d32dfcccdbd77551243a50668127a7;p=gnome-shell.git dateMenu: Add accessibility to Events and Weather The Events element, with today events, and the Weather element, with the weather in our location, lack accessibility names. This patch fixes it. Part-of: (cherry picked from commit 2203b7eac39deb57a0c806bb4ca082f19993ba16) --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 39687c321..04dde6624 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -132,6 +132,7 @@ class EventsSection extends St.Button { style_class: 'events-title', }); this.child.add_child(this._title); + this.labelActor = this._title; this._eventsList = new St.BoxLayout({ style_class: 'events-list', @@ -567,6 +568,7 @@ class WeatherSection extends St.Button { }); titleBox.add_child(this._titleLabel); box.add_child(titleBox); + this.labelActor = this._titleLabel; this._titleLocation = new St.Label({ style_class: 'weather-header location',